package cn.com.cifi.mars.mapper.mars;

import cn.com.cifi.mars.entity.MdmGroupBld;
import cn.com.cifi.mars.entity.MdmProjectPatner;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * （主数据）项目-合作方 Mapper 接口
 * </p>
 *
 * @author yyd
 * @since 2019-09-24
 */
public interface ProjectPatnerMapper extends BaseMapper<MdmProjectPatner> {

	MdmProjectPatner selectByProjectIdAndPartnerNo(@Param("projectId")String projectId, @Param("partnerNo")String partnerNo,@Param("isDel") int isDel);
	
	void updateByProjectIdAndPartnerNo(@Param("record")MdmProjectPatner projectPatner);

	MdmProjectPatner selectByPartnerNo(@Param("projectId") String projectId,@Param("partnerNo") String type);
	
	void insertPartnerList(@Param("list")List<MdmProjectPatner> list);
}
